import request from '@/utils/request'
let api_ucenterName = '/ucenterservice/ucentermember'
export default {
   // 用户登录
   submitLogin(ucenterMember){
        return request({
            url:`${api_ucenterName}/login`,
            method:'post',
            data:ucenterMember
        })
    },

    // 根据token获取用户信息
    getLoginInfoByToken(){
        return request({
            url:`${api_ucenterName}/getLoginInfo`,
            method:'get'
        })
    }

}